package org.jeecg.modules.veterans.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description: 优待服务信息表
 * @Author: jeecg-boot
 * @Date:   2022-05-08
 * @Version: V1.0
 */
@Data
@TableName("sys_service")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_service对象", description="优待服务信息表")
public class SysServiceApp implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**店铺名称*/
	@Excel(name = "店铺名称", width = 15)
    @ApiModelProperty(value = "店铺名称")
    private String name;
	/**所在地区*/
	@Excel(name = "所在地区", width = 15, dicCode = "sys_area" )
	@Dict(dicCode = "sys_area")
    @ApiModelProperty(value = "所在地区")
    private String area;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private String address;
	/**营业时间*/
	@Excel(name = "营业时间", width = 15)
    @ApiModelProperty(value = "营业时间")
    private String openTime;
	/**服务类型*/
	@Excel(name = "服务类型", width = 15, dicCode = "service_type" )
	@Dict(dicCode = "service_type")
    @ApiModelProperty(value = "服务类型")
    private String serviceType;
    /**审核状态*/
    @Excel(name = "审核状态", width = 15, dicCode = "sp_state")
    @Dict(dicCode = "sp_state")
    @ApiModelProperty(value = "审核状态")
    private java.lang.String state;
    //TO DO 二期修改
	/**优惠简介*/
	@Excel(name = "优惠简介", width = 15)
    @ApiModelProperty(value = "优惠简介")
    private String description;
    /**优先简介*/
	@Excel(name = "优先简介", width = 15)
    @ApiModelProperty(value = "优先简介")
    private String priorityDesc ;
	/**优惠具体详情*/
//	@Excel(name = "优惠具体详情", width = 15)
    @ApiModelProperty(value = "优惠具体详情")
    private String detail;
	/**机构简介*/
	@Excel(name = "机构简介", width = 15)
    @ApiModelProperty(value = "机构简介")
    private String businessDesc;
    /**机构介绍图*/
    @Excel(name = "机构介绍图", width = 15)
    @ApiModelProperty(value = "机构介绍图")
    private String imageDesc;
    //TO DO 二期修改 end
	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
    @ApiModelProperty(value = "联系方式")
    private String phone;
	/**封面*/
	@Excel(name = "封面", width = 15)
    @ApiModelProperty(value = "封面")
    private String imageUrl;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private BigDecimal lng;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private BigDecimal lat;
    /**点赞数*/
    @Excel(name = "点赞数", width = 15)
    @ApiModelProperty(value = "点赞数")
    private String stars;

    /**距离*/
    @TableField(exist = false)
    private float distance;

    @TableField(exist = false)
    private List<SysServiceDiscount> discounts;
    @TableField(exist = false)
    private List<SysServicePriority> priorities;


}
